<template>
  <div>
    <p v-text="str"></p>
    <p v-html="str">{{ count }}</p>
  </div>
</template>

<script>
export default {
  data() {
    return {
      count: 10 + 20,
      str: "<p>我是p标签</p>",
    };
  },
};
</script>

<style>
</style>